package com.ruoyi.appreciate.competition.service;

import java.util.List;
import com.ruoyi.appreciate.competition.domain.Competition;

/**
 * 书法赛事Service接口
 * 
 * @author duanxinli
 * @date 2025-10-11
 */
public interface ICompetitionService 
{
    /**
     * 查询书法赛事
     * 
     * @param id 书法赛事主键
     * @return 书法赛事
     */
    public Competition selectCompetitionById(String id);

    /**
     * 查询书法赛事列表
     * 
     * @param competition 书法赛事
     * @return 书法赛事集合
     */
    public List<Competition> selectCompetitionList(Competition competition);

    /**
     * 新增书法赛事
     * 
     * @param competition 书法赛事
     * @return 结果
     */
    public int insertCompetition(Competition competition);

    /**
     * 修改书法赛事
     * 
     * @param competition 书法赛事
     * @return 结果
     */
    public int updateCompetition(Competition competition);

    /**
     * 批量删除书法赛事
     * 
     * @param ids 需要删除的书法赛事主键集合
     * @return 结果
     */
    public int deleteCompetitionByIds(String[] ids);

    /**
     * 删除书法赛事信息
     * 
     * @param id 书法赛事主键
     * @return 结果
     */
    public int deleteCompetitionById(String id);
}
